package alexandria.dashboard.entity

/**
 * Domain entity Project
 *
 * @version 0.2
 * @author  Samuel Rodrigues
 */
class Project {

    int id
    String externalId
    String name
    String description
    String owner
    static hasMany = [stories :Story]
	Map metrics


    static constraints = {
        externalId(nullable:false, blank:false, unique:true)
        name(nullable:false, blank:false, unique:true)
        description(nullable:false)
        owner(nullable:true)
    }
}
